package com.zmn.oms.persistence.interfaces.quotation3;


import com.zmn.oms.model.entity.quotation3.OrderMaintainItem;

import java.util.List;

public interface OrderMaintainItemDao {
    int deleteByPrimaryKey(Long orderMaintainItemId);

    int deleteByOrderId(Long orderId);

    int deleteByMaintainItemIds(List<Long> orderMaintainItemIds);

    int insert(OrderMaintainItem record);

    int batchInsert(List<OrderMaintainItem> records);

    int insertSelective(OrderMaintainItem record);

    OrderMaintainItem selectByPrimaryKey(Long orderMaintainItemId);

    List<OrderMaintainItem> listByOrderId(Long orderId);

    int updateByPrimaryKeySelective(OrderMaintainItem record);

    int updateByPrimaryKey(OrderMaintainItem record);
}